﻿using XProject.DataVisit.Model;

namespace XProject.DataVisit.Handler
{
    /// <summary>
    /// 客户请求类
    /// </summary>
    public interface IJsonRequest
    {
        /// <summary>
        /// 请求的类别
        /// </summary>
        JsonRequest.Category ActionCategory { get; }
        /// <summary>
        /// JSON请求
        /// </summary>
        Newtonsoft.Json.Linq.JToken Params { get; }

        T GetParam<T>(string key);
    }
}
